package com.ruoyi.system.service.impl;


import com.ruoyi.system.domain.User;
import com.ruoyi.system.mapper.UserMapper;
import com.ruoyi.system.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class UserServiceImpl implements UserService {

    @Autowired
    private UserMapper userMapper;

    @Override
    public User selectUserByUserName(String userName) {

        return userMapper.selectUserByUserName(userName);
    }

    @Override
    public Boolean updateByUserDB(User userDB) {


        return userMapper.updateByUserDB(userDB);
    }



}
